package org.maxkey.portal.service;

import org.maxkey.portal.core.cam.PageResultData;
import org.maxkey.portal.core.cam.ResultData;
import org.maxkey.portal.core.search.ParamModel;
import org.maxkey.portal.core.search.model.UserParam;
import org.maxkey.portal.model.UserInfo;

public interface UserInfoService  {

    ResultData findById(Integer id);


    ResultData findUserByLoginname(String Loginname);

    ResultData findAll();

    PageResultData findList(ParamModel<UserParam> searData);

    ResultData deleteById(Long id);

    ResultData save(UserInfo userInfo);
}
